#ifndef REPOSITORYS_H
#define REPOSITORYS__H

#include "DbObjects.h"


typedef struct
{
    int           iID;
	int           iTypeID;
	int           iSubtypeID;
    char          sPlatformCode[128];
    char          sKlcontent[512];
	char          sCharacter[128];
	

} band_repository_info;      
class Repositorys : public DbObjects
{
    public:
    Repositorys(Database* pDb);
	virtual ~Repositorys();

    virtual BaseObject* Create();
    //BaseObject* Create(quint64 uiID);

    virtual bool SQLLoad(QString sSQLCondition);
    virtual bool SQLInsert(unsigned int uiID);
    virtual bool SQLInsert(BaseObject* pObject);
	
    virtual bool SQLModify(unsigned int uiID);
    virtual bool SQLModify(BaseObject* pObject);
    virtual bool SQLDelete(unsigned int uiID) ;
    virtual bool SQLDelete(BaseObject* pObject) ;
    virtual bool SQLClear();

};
#endif